﻿using SportsPlatform.Dto.PermissionManagement.PlatformInfo;
using SportsPlatform.Base;
using SportsPlatform.Query.PermissionManagement.BaseQuery;
using SportsPlatform.Query.PermissionManagement.PlatformInfo;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.PermissionManagement.IPermissionManagement
{
    /// <summary>
    /// 平台信息表
    /// </summary>
    public  interface IPlatformInfoService
    {
        /// <summary>
        /// 根据Id查询
        /// </summary>
        /// <param name="deleteOrQueryModel"></param>
        /// <returns></returns>
        Task<ResultDto<GetPlatformInfoDto>> GetPlatformInfo(DeleteOrGetModelQuery deleteOrQueryModel);

        /// <summary>
        /// 获取信息List
        /// </summary>
        /// <param name="getPlatformInfoQuery"></param>
        /// <returns></returns>
        Task<ResultListDto<GetPlatformInfoDto>> GetPlatformInfoList(GetPlatformInfoQuery getPlatformInfoQuery);

        /// <summary>
        /// 新增信息
        /// </summary>
        /// <param name="addPlatformInfoQuery"></param>
        /// <returns></returns>
        Task<BaseResultDto> AddPlatformInfo(AddPlatformInfoQuery addPlatformInfoQuery);

        /// <summary>
        /// 更新信息
        /// </summary>
        /// <param name="updatePlatformInfoQuery"></param>
        /// <returns></returns>
        Task<BaseResultDto> UpdatePlatformInfo(UpdatePlatformInfoQuery updatePlatformInfoQuery);

        /// <summary>
        /// 根据Id删除信息
        /// </summary>
        /// <param name="deleteOrQueryModel"></param>
        /// <returns></returns>
        Task<BaseResultDto> DeletePlatformInfo(DeleteOrGetModelQuery deleteOrQueryModel);

        /// <summary>
        /// 是否启用
        /// </summary>
        /// <param name="isStatesModel"></param>
        /// <returns></returns>
        Task<BaseResultDto> IsStatesPlatformInfo(IsStatesdModel isStatesModel);
    }
}
